﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HeartStone.BaseDomain;

namespace HeartStone.Units.UnitCard
{
	public class OKinny : BaseCard
	{
		public OKinny(BaseHero pHero)
			: base(pHero)
		{
			Crystal = 4;
			BaseCrystal = 4;
			Ad = 3;
			BaseAd = 3; BaseHP = 5;
			Hp = 5;

			Name = "奥金尼";
			//牧师职业卡
			HeroType = HeroType.Minister;
			//奥金尼战场效果
			pHero.treatFlag = false;
			Console.WriteLine("{0}召唤登场",Name);
		}



		~OKinny()
		{

			this.OwnerHero.treatFlag = true;
		}

		public override void Dispose()
		{
			//奥金尼死了要重置
			this.OwnerHero.treatFlag = true;
			base.Dispose();
		}

	}
}
